
	<!-- Page title -->
	<div id="pagetitle">
		<div class="wrapper">
			<h1>Accounting</h1>
			<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
		</div>
	</div>
	<!-- End of Page title -->
	
	<!-- Page content -->
	<div id="page">
		<!-- Wrapper -->
		<div class="wrapper">
			<!-- Wrapper Section -->
			<section>
			
				<!-- Tab -->
				<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
				
					<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
						<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active">
							<a class="corner-tl" href="#search_tab">Search/View/Edit Entry</a>
						</li>
						<li class="ui-state-default ui-corner-top">
							<a class="" href="#new_tab">New Entry</a>
						</li>
						<li class="ui-state-default ui-corner-top">
							<a class="corner-tr" href="#report_tab">Reports</a>
						</li>
						<!--<li class="ui-state-default ui-corner-top">
							<a class="corner-tr" href="#property_tab">Property Map</a>
						</li>-->
					</ul>
					
					<!-- Search/View/Edit Tab -->
					<div id="search_tab" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						<?php include("search_view.php"); ?>
					</div>
					<!-- End of Search/View/Edit Tab -->
					
					<!-- New Entry Tab -->
					<div id="new_tab" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						<?php include("new_entry_view.php"); ?>
					</div>
					<!-- End of New Entry Tab -->
					
					<!-- Reports Tab -->
					<div id="report_tab" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						<?php include("report_view.php"); ?>
					</div>
					<!-- End of Reports Tab -->
					
					<!-- Reports Tab -->
					<!--<div id="property_tab" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						Not finish with this part yet!
					</div>-->
					<!-- End of Reports Tab -->
					
				</div>
				<!-- End of Tab -->
			
			</section>
			<!-- End of Wrapper Section -->
			
			<div class="clear">&nbsp;</div>
			
         </div>
		<!-- End of Wrapper -->
		
		<!-- Popup - View Entry -->
		<?php include("popup_view_entry.php"); ?>
		<!-- End of Popup - View Entry -->
		
		<!-- Popup - Edit Entry -->
		<?php include("popup_edit_entry.php"); ?>
		<!-- End of Popup - Edit Entry -->
		
		<!-- Popup - Reports -->
		<div id="report-quick-view" class="hidden">
			<form action="" method="get" id="form_report">				
			
				<div class="content-box corners popup-buttons">
					<header>
						<h3><img src="<?= $this->config->item('webroot') ?>images/icons/information.png" alt="" />Accounting Standard Report</h3>						
						<span class="right-buttons">
							<a href="#" class="btn nyroModalClose"><span class="icon icon-pdf">&nbsp;</span>PDF</a>
							<a href="#" class="btn nyroModalClose"><span class="icon icon-printer">&nbsp;</span>Print</a>
							<a href="#" class="btn nyroModalClose"><span class="icon icon-cancel">&nbsp;</span>Close</a>
						</span>						
					</header>
					<section>	
							
						<div class="column first">
							<h3>Money In (Receivable) - Material Purchase</h3>
							<label>December 1, 2010 - December 25, 2010</label><br />
							<label>Business Account (Cebu Micro)</label><br />
						</div>
						
						<div class="column first align-right">
							<label class="big">Php 2,660</label><br />
						</div>
						
						<table id="entry-list-table" class="display stylized" style="width:auto" >
							<thead>
								<th>Entry Date</th>
								<th>Entry Person</th>
								<th>Transaction Date</th>
								<th>Account</th>
								<th>Identifier</th>
								<th>Company Name</th>
								<th>PO #</th>
								<th>New PO #</th>
								<th>RFQ #</th>
								<th>New RFQ #</th>
								<th>Description</th>
								<th>Payment</th>
								<th>Amount (before VAT)</th>
								<th>VAT</th>
								<th>Tax</th>
								<th>Total</th>
							</thead>
							<tbody>
								<tr class="gradeA odd">
									<td>
										Dec. 3, 2010
									</td>
									<td>
										Juan
									</td>
									<td>
										Dec. 1, 2010
									</td>
									<td>
										Cebu Micro
									</td>
									<td>
										Material Purchase
									</td>
									<td>
										San Miguel
									</td>
									<td>
										PO#123456
									</td>		
									<td>
										PO#789101
									</td>	
									<td>
										RFQ#123456
									</td>		
									<td>
										RFQ#789101
									</td>
									<td>
										2pc Welding Rod
									</td>	
									<td>
										Cash
									</td>	
									<td>
										1200
									</td>	
									<td>
										100
									</td>	
									<td>
										30
									</td>	
									<td>
										1330
									</td>								
								</tr>
								<tr class="gradeA even">
									<td>
										Dec. 3, 2010
									</td>
									<td>
										Juan
									</td>
									<td>
										Dec. 1, 2010
									</td>
									<td>
										Cebu Micro
									</td>
									<td>
										Material Purchase
									</td>
									<td>
										San Miguel
									</td>
									<td>
										PO#123456
									</td>		
									<td>
										PO#789101
									</td>	
									<td>
										RFQ#123456
									</td>		
									<td>
										RFQ#789101
									</td>
									<td>
										2pc Welding Rod
									</td>
									<td>
										Cash
									</td>	
									<td>
										1200
									</td>	
									<td>
										100
									</td>	
									<td>
										30
									</td>	
									<td>
										1330
									</td>
								</tr>
							</tbody>
							<tfoot>
								<th>Entry Date</th>
								<th>Entry Person</th>
								<th>Transaction Date</th>
								<th>Account</th>
								<th>Identifier</th>
								<th>Company Name</th>
								<th>PO #</th>
								<th>New PO #</th>
								<th>RFQ #</th>
								<th>New RFQ #</th>
								<th>Description</th>
								<th>Payment</th>
								<th>Amount (before VAT)</th>
								<th>VAT</th>
								<th>Tax</th>
								<th>Total</th>
							</tfoot>
						</table>
						
						<hr  />
							
						<div class="column inner-width8 first">
							<a href="#"><label>Graph Here (if applicable)</label></a>
						</div>
							
						<div class="column inner-width8 first">
							<a href="#"><label>Chart Here (if applicable)</label></a>
						</div>
						
					</section>
				</div>	
				
			</form>
		</div>
		<!-- End of Popup - Reports -->	
		
	</div>
	<!-- End of Page content -->
	
	<script type="text/javascript" src="<?= $this->config->item('webroot') ?>scripts/application/accounting.js"></script>